<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Book Store</title>
<link rel="stylesheet" type="text/css" href="${path }/style/style.css" />
</head>
<body>
	<div id="wrap">

		<jsp:include page="../common/header.jsp">
			<jsp:param value="login" name="css" />
		</jsp:include>

		<div class="center_content">
			<div class="left_content">
				<div class="title">
					<span class="title_icon"><img
						src="${path }/images/bullet1.gif" alt="" title="" /></span>我的账户
				</div>

				<div class="feat_prod_box_details">
					<p class="details">
						本书店是天创集团旗下的天智教育经营的书店，开业十年来，一直与国内外五百家出版社，近千家发行单位保持着良好的合作关系。以其集文化传播、艺术鉴赏、休闲为一体的崭新经营方式、一流的购书环境及优质的服务，赢得了众多的荣誉，成为华东地区最大的集图书、音像制品、文化用品、快餐、软件开发、广告策划于一体的图书零售企业。
					</p>

					<div class="contact_form">
						<div class="form_subtitle">用户登录</div>
						<form name="register" action="${path }/user/login" method="post">
							<!-- 显示登错误的信息 -->
							<c:if test="${not empty login_error}">
								<label class="contact" style="color:red;"><strong>${login_error}</strong></label> 
							</c:if>
						
							<!-- 利用EL表达式中的隐式对象把 cookie取出来 -->
							<div class="form_row">
								<label class="contact"><strong>用户名:</strong></label> <input
									type="text" name="username" class="contact_input"  value="${cookie.username.value}"/>
							</div>


							<div class="form_row">
								<label class="contact"><strong>密&nbsp;&nbsp;&nbsp;&nbsp;码:</strong></label>
								<input type="password" name="password" class="contact_input" value="${cookie.pwd.value}"/>
							</div>

							<div class="form_row">
								<div class="terms">
									<input type="checkbox" value="1" name="terms" /> 记住密码
								</div>
							</div>

							<div class="form_row">
								<input type="submit" class="register" value="登陆" />
							</div>

						</form>

					</div>

				</div>

				<div class="clear"></div>
			</div>
			<!--end of left content-->

			<!-- 右边内容开始 -->
			<%@ include file="../common/aside.jsp"%>
			<!--end of right content-->

			<div class="clear"></div>
		</div>
		<!--end of center content-->

		<%@ include file="../common/foot.jsp"%>

	</div>

</body>
</html>